Skip to content

Add Fireworks fallback for CanopyWave#571

Open
jahooma wants to merge 1 commit intomainfrom
jahooma/fireworks-fallback
Open

Add Fireworks fallback for CanopyWave#571
jahooma wants to merge 1 commit intomainfrom
jahooma/fireworks-fallback

Conversation

@jahooma
Copy link
Copy Markdown
Contributor

@jahooma jahooma commented Apr 30, 2026

Adds a server-side fallback from CanopyWave to Fireworks for supported models when CanopyWave returns availability failures such as 429, 5xx, or "No available workers".
If CanopyWave is not configured, supported models now route directly to Fireworks instead of failing on the missing key.
This keeps the existing provider billing/logging paths intact and covers both streaming and non-streaming completions.
Validated with bun test web/src/app/api/v1/chat/completions/__tests__/completions.test.ts and bun run --cwd web typecheck.

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant